import React, { memo } from "react";

function Son(props) {
  console.log("子组件渲染");

  return (
    <>
        <h2>子组件</h2>
        <p>props.age:{props.age}</p>
    </>
  );
}

export default memo(Son);
